<template>
  <div class="view-ExampleList2">
    <el-button @click="addLoginUserNum">addUserNum</el-button>
    ExampleList2
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { computed } from 'vue'
import { useStore } from 'vuex'

export default defineComponent({
  name: 'ExampleList2',
  components: {
  },
  setup () {
    const store = useStore();

    const addLoginUserNum = () => {
			store.dispatch('addUserNum');
    };
    
    return {
      addLoginUserNum,
    };
  },
});
</script>
